#include "UnknownIdentifierException.h"
#include <boost/format.hpp>

UnknownIdentifierException::UnknownIdentifierException(std::string identifier, int line)
: VccException(""), identifier(identifier), line(line) {
    this->message = str(boost::format("unknown identifier %s (%d)") % identifier % line);
}

UnknownIdentifierException::~UnknownIdentifierException() {
    // empty
}

std::string UnknownIdentifierException::get_identifier() {
    return this->identifier;
}

int UnknownIdentifierException::get_line() {
    return this->line;
}
